<template>
  <div>
    <div class="head">
      <h1>看 点</h1>
    </div>
  </div>
</template>

<script>
export default {
  name: 'MyHead'
}
</script>

<style lang="less" scoped>
  *{
    margin: 0;
    padding: 0;
  }
  .head{
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 50px;
    line-height: 50px;
    width: 100%;
    text-align: center;
    background-color: aqua;
    color: white;
    z-index: 9999;
    h1{
      font-size: 24px;
      font-weight: 600;
      // background-color: red;
    }
  }
</style>
